<!DOCTYPE html>
<html lang="en">
<head>
  <!-- Required meta tags -->
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

  <!-- Bootstrap CSS -->
  <link rel="stylesheet" href="./css/bootstrap.css">
  <style>
    .card-deck{
      /*background: #000000;*/
      /*margin-bottom: 2rem;*/
    }
   /* .row div{
      background: #399;
      border:1px solid #000000;
    }*/
  .carousel{
    background: #399;
    /*height:10%;*/
    max-height:20rem;
  }
    .carousel .carousel-inner .carousel-item{
      max-height:20rem;
    }
  </style>
</head>
<body>
<!--carousel 轮播图 -->
  <div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
    <ol class="carousel-indicators">
      <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
      <li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
    </ol>
    <div class="carousel-inner">
      <div class="carousel-item active">
        <img class="img-fluid" src="./images/chrome-big.jpg" alt="First slide">
        <div class="carousel-caption">
          <h3>标题1</h3>
          <p>文字</p>
        </div>
      </div>
      <div class="carousel-item">
        <img class="img-fluid" src="./images/opera-big.jpg" alt="Second slide">
        <div class="carousel-caption">
          <h3>标题2</h3>
          <p>文字</p>
        </div>
      </div>
    </div>
    <a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
      <span class="carousel-control-prev-icon" aria-hidden="true"></span>
      <span class="sr-only">Previous</span>
    </a>
    <a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
      <span class="carousel-control-next-icon" aria-hidden="true"></span>
      <span class="sr-only">Next</span>
    </a>
  </div>

<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.slim.min.js"></script>
<!--<script src="https://cdn.bootcss.com/popper.js/1.11.0/umd/popper.min.js"></script>-->
<script src="./js/bootstrap.js"></script>

</body>
</html>